MindFusion.Charting for JavaScript Programmer's Guide
PointSeries Constructor
See Also
 






Initializes a new instance of the PointSeries class.

Namespace: MindFusion.Charting
File: PointSeries.js

 Syntax

JavaScript  Copy Code

function PointSeries (points, labels)

 Parameters

points

Type: List | Array
A list of points.

labels

Type: List | Array
A list of labels.

 Example

The following code creates a new PointSeries using two arrays with values:

JavaScript  Copy Code
var series = new Charting.PointSeries(
 [
  new Drawing.Point(0.32, 81),
  new Drawing.Point(0.39, 66),
  new Drawing.Point(0.75, 65),
  new Drawing.Point(0.49, 60)
  ],
 ["Germany", "France", "UK", "Italy"]);
series.title = "Sales > $100K";

 See Also

PointSeries Constructor Overload List
PointSeries Class
MindFusion.Charting Namespace